MATPLOTLIB¶

The Line graph illustrates the increase in my weight from year 2006-2020.¶

In [ ]:
import matplotlib.pyplot as plt 
year = [2006 + x for x in range(16)]
my_weight = [20 ,23,23,24,25,24,27,32,35,34,40,45,47,53,57,62]

plt.plot(year,my_weight, c ="red", lw=3)
Out[ ]:
[<matplotlib.lines.Line2D at 0x1c4acb0fb90>]

SEABORN¶

This scatter plot illustration is based on the Seaborn Tips dataset. It compares the total bill for four days per week with the tip received that day.¶

In [ ]:
import seaborn as sns
tips = sns.load_dataset("tips")
sns.scatterplot(x="tip",y="total_bill",data=tips,hue="day")
Out[ ]:
<Axes: xlabel='tip', ylabel='total_bill'>

PLOTLY¶

The pie chart represents the tips data set. It compares % the tips received on four particular days. It can be seen that the maximum tips received are on Saturday.¶

In [ ]:
plotly.offline.init_notebook_mode()
import plotly.express as px


df = px.data.tips()
fig = px.pie(df, values='tip', names='day')

fig.show()

Additional Markdown Elements¶

Hyper Link¶

Visit my GitHub profile by clicking Here.

Table¶

First Name LasT Name
simar Gill
ABC DEF

Image¶

Image of wall-e